<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>VectSharp: VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="Doxy.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="icon.svg"/></td>
  <td id="projectalign">
   <div id="projectname">VectSharp<span id="projectnumber">&#160;2.6.1</span>
   </div>
   <div id="projectbrief">A light library for C# vector graphics</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Contains methods to render a <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to an Image.   
 <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter_1_1_unknown_format_exception.html">UnknownFormatException</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The exception that is raised when the output file format is not specified and the file name does not have an extension corresponding to a known file format.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter_1_1_unknown_format_exception.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a3c2828cecc3c2c0d4ebc588a3903de6a"><td class="memItemLeft" align="right" valign="top">static Image&lt; SixLabors.ImageSharp.PixelFormats.Rgba32 &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a3c2828cecc3c2c0d4ebc588a3903de6a">SaveAsImage</a> (this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a> page, double scale=1)</td></tr>
<tr class="memdesc:a3c2828cecc3c2c0d4ebc588a3903de6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the page to an Image object.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a3c2828cecc3c2c0d4ebc588a3903de6a">More...</a><br /></td></tr>
<tr class="separator:a3c2828cecc3c2c0d4ebc588a3903de6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15f83467289d6f99429826a1064101bf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a15f83467289d6f99429826a1064101bf">SaveAsImage</a> (this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a> page, Stream imageStream, <a class="el" href="namespace_vect_sharp_1_1_raster_1_1_image_sharp.html#a3a997f2103fbfd334ff7cf6c9e06d2b6">OutputFormats</a> outputFormat, double scale=1)</td></tr>
<tr class="memdesc:a15f83467289d6f99429826a1064101bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the page to an image stream.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a15f83467289d6f99429826a1064101bf">More...</a><br /></td></tr>
<tr class="separator:a15f83467289d6f99429826a1064101bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab089bbd435e9a39b3ac33d0db777fca1"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#ab089bbd435e9a39b3ac33d0db777fca1">SaveAsImage</a> (this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a> page, string fileName, <a class="el" href="namespace_vect_sharp_1_1_raster_1_1_image_sharp.html#a3a997f2103fbfd334ff7cf6c9e06d2b6">OutputFormats</a>? outputFormat=null, double scale=1)</td></tr>
<tr class="memdesc:ab089bbd435e9a39b3ac33d0db777fca1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the page to an image file.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#ab089bbd435e9a39b3ac33d0db777fca1">More...</a><br /></td></tr>
<tr class="separator:ab089bbd435e9a39b3ac33d0db777fca1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac70cab7afab966d3188d27ba9eaabe6c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_vect_sharp_1_1_disposable_int_ptr.html">DisposableIntPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#ac70cab7afab966d3188d27ba9eaabe6c">SaveAsRawBytes</a> (this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a> pag, out int width, out int height, out int totalSize, double scale=1)</td></tr>
<tr class="memdesc:ac70cab7afab966d3188d27ba9eaabe6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render the page to raw pixel data, in 32bpp RGBA format.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#ac70cab7afab966d3188d27ba9eaabe6c">More...</a><br /></td></tr>
<tr class="separator:ac70cab7afab966d3188d27ba9eaabe6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a482bcb2c2cb8cfcd4408331e816bcf6e"><td class="memItemLeft" align="right" valign="top">static byte[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a482bcb2c2cb8cfcd4408331e816bcf6e">SaveAsRawBytes</a> (this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a> pag, out int width, out int height, double scale=1)</td></tr>
<tr class="memdesc:a482bcb2c2cb8cfcd4408331e816bcf6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the page to raw pixel data, in 32bpp RGBA format.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a482bcb2c2cb8cfcd4408331e816bcf6e">More...</a><br /></td></tr>
<tr class="separator:a482bcb2c2cb8cfcd4408331e816bcf6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b8165f5b1b95085f23e769f7d1761f0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_vect_sharp_1_1_raster_image.html">RasterImage</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a5b8165f5b1b95085f23e769f7d1761f0">Rasterise</a> (this <a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a> graphics, <a class="el" href="struct_vect_sharp_1_1_rectangle.html">Rectangle</a> region, double scale, bool interpolate)</td></tr>
<tr class="memdesc:a5b8165f5b1b95085f23e769f7d1761f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rasterise a region of a <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> object.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a5b8165f5b1b95085f23e769f7d1761f0">More...</a><br /></td></tr>
<tr class="separator:a5b8165f5b1b95085f23e769f7d1761f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a626f248f279f8bf6e4460fadd743a0"><td class="memItemLeft" align="right" valign="top">static Image&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a2a626f248f279f8bf6e4460fadd743a0">SaveAsAnimatedGIF</a> (this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a> animation, double scale=1, double frameRate=50, double durationScaling=1, GifColorTableMode colorTableMode=GifColorTableMode.Local)</td></tr>
<tr class="memdesc:a2a626f248f279f8bf6e4460fadd743a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the animation to an animated GIF.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a2a626f248f279f8bf6e4460fadd743a0">More...</a><br /></td></tr>
<tr class="separator:a2a626f248f279f8bf6e4460fadd743a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a867e46ff3b98fa735d110ddeca5e346e"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a867e46ff3b98fa735d110ddeca5e346e">SaveAsAnimatedGIF</a> (this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a> animation, Stream imageStream, double scale=1, double frameRate=50, double durationScaling=1, GifColorTableMode colorTableMode=GifColorTableMode.Local)</td></tr>
<tr class="memdesc:a867e46ff3b98fa735d110ddeca5e346e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the animation to an animated GIF stream.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a867e46ff3b98fa735d110ddeca5e346e">More...</a><br /></td></tr>
<tr class="separator:a867e46ff3b98fa735d110ddeca5e346e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afde20a6efee5bccbf0eda161e265ed57"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#afde20a6efee5bccbf0eda161e265ed57">SaveAsAnimatedGIF</a> (this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a> animation, string fileName, double scale=1, double frameRate=50, double durationScaling=1, GifColorTableMode colorTableMode=GifColorTableMode.Local)</td></tr>
<tr class="memdesc:afde20a6efee5bccbf0eda161e265ed57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the animation to an animated GIF file.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#afde20a6efee5bccbf0eda161e265ed57">More...</a><br /></td></tr>
<tr class="separator:afde20a6efee5bccbf0eda161e265ed57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d483e3d6ea5e9371aff8571d3d3daf5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a0d483e3d6ea5e9371aff8571d3d3daf5">SaveAsAnimatedPNG</a> (this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a> animation, Stream imageStream, double scale=1, double frameRate=60, double durationScaling=1, <a class="el" href="class_vect_sharp_1_1_animated_p_n_g.html#ac87e8fb45a427615d2645ba751e5d09a">AnimatedPNG.InterframeCompression</a> interframeCompression=AnimatedPNG.InterframeCompression.First)</td></tr>
<tr class="memdesc:a0d483e3d6ea5e9371aff8571d3d3daf5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the animation to a stream in animated PNG format.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#a0d483e3d6ea5e9371aff8571d3d3daf5">More...</a><br /></td></tr>
<tr class="separator:a0d483e3d6ea5e9371aff8571d3d3daf5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6b39d0265042a2f0ebf490a0557ab40"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#ad6b39d0265042a2f0ebf490a0557ab40">SaveAsAnimatedPNG</a> (this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a> animation, string fileName, double scale=1, double frameRate=60, double durationScaling=1, <a class="el" href="class_vect_sharp_1_1_animated_p_n_g.html#ac87e8fb45a427615d2645ba751e5d09a">AnimatedPNG.InterframeCompression</a> interframeCompression=AnimatedPNG.InterframeCompression.First)</td></tr>
<tr class="memdesc:ad6b39d0265042a2f0ebf490a0557ab40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the animation to an animated PNG file.   <a href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html#ad6b39d0265042a2f0ebf490a0557ab40">More...</a><br /></td></tr>
<tr class="separator:ad6b39d0265042a2f0ebf490a0557ab40"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Contains methods to render a <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to an Image.  </p>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01048">1048</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a5b8165f5b1b95085f23e769f7d1761f0" name="a5b8165f5b1b95085f23e769f7d1761f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b8165f5b1b95085f23e769f7d1761f0">&#9670;&#160;</a></span>Rasterise()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_vect_sharp_1_1_raster_image.html">RasterImage</a> VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.Rasterise </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_graphics.html">Graphics</a>&#160;</td>
          <td class="paramname"><em>graphics</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_vect_sharp_1_1_rectangle.html">Rectangle</a>&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>interpolate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Rasterise a region of a <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> object.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">graphics</td><td>The <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> object that will be rasterised.</td></tr>
    <tr><td class="paramname">region</td><td>The region of the <em>graphics</em>  that will be rasterised.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale at which the image will be rendered.</td></tr>
    <tr><td class="paramname">interpolate</td><td>Whether the resulting image should be interpolated or not when it is drawn on another <a class="el" href="class_vect_sharp_1_1_graphics.html" title="Represents an abstract drawing surface.">Graphics</a> surface.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_raster_image.html" title="Represents a raster image, created from raw pixel data. Consider using the derived classes included i...">RasterImage</a> containing the rasterised graphics.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01280">1280</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="a2a626f248f279f8bf6e4460fadd743a0" name="a2a626f248f279f8bf6e4460fadd743a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2a626f248f279f8bf6e4460fadd743a0">&#9670;&#160;</a></span>SaveAsAnimatedGIF() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsAnimatedGIF </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a>&#160;</td>
          <td class="paramname"><em>animation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frameRate</em> = <code>50</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>durationScaling</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GifColorTableMode&#160;</td>
          <td class="paramname"><em>colorTableMode</em> = <code>GifColorTableMode.Local</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves the animation to an animated GIF.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">animation</td><td>The animation to export.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale at which the animation will be rendered.</td></tr>
    <tr><td class="paramname">frameRate</td><td>The target frame rate of the animation, in frames-per-second (fps). This is capped by the animated GIF specification at 50 fps.</td></tr>
    <tr><td class="paramname">durationScaling</td><td>A scaling factor that will be applied to all durations in the animation. Values greater than 1 slow down the animation, values smaller than 1 accelerate it. Note that this does not affect the frame rate of the animation.</td></tr>
    <tr><td class="paramname">colorTableMode</td><td>Determines whether a single colour table should be used for the whole image, or if a different colour table should be used for each frame.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An Image containing the animated GIF.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01328">1328</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="a867e46ff3b98fa735d110ddeca5e346e" name="a867e46ff3b98fa735d110ddeca5e346e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a867e46ff3b98fa735d110ddeca5e346e">&#9670;&#160;</a></span>SaveAsAnimatedGIF() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsAnimatedGIF </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a>&#160;</td>
          <td class="paramname"><em>animation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>imageStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frameRate</em> = <code>50</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>durationScaling</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GifColorTableMode&#160;</td>
          <td class="paramname"><em>colorTableMode</em> = <code>GifColorTableMode.Local</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves the animation to an animated GIF stream.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">animation</td><td>The animation to export.</td></tr>
    <tr><td class="paramname">imageStream</td><td>The stream on which the animated GIF will be written.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale at which the animation will be rendered.</td></tr>
    <tr><td class="paramname">frameRate</td><td>The target frame rate of the animation, in frames-per-second (fps). This is capped by the animated GIF specification at 50 fps.</td></tr>
    <tr><td class="paramname">durationScaling</td><td>A scaling factor that will be applied to all durations in the animation. Values greater than 1 slow down the animation, values smaller than 1 accelerate it. Note that this does not affect the frame rate of the animation.</td></tr>
    <tr><td class="paramname">colorTableMode</td><td>Determines whether a single colour table should be used for the whole image, or if a different colour table should be used for each frame.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01387">1387</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="afde20a6efee5bccbf0eda161e265ed57" name="afde20a6efee5bccbf0eda161e265ed57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afde20a6efee5bccbf0eda161e265ed57">&#9670;&#160;</a></span>SaveAsAnimatedGIF() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsAnimatedGIF </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a>&#160;</td>
          <td class="paramname"><em>animation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frameRate</em> = <code>50</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>durationScaling</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GifColorTableMode&#160;</td>
          <td class="paramname"><em>colorTableMode</em> = <code>GifColorTableMode.Local</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves the animation to an animated GIF file.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">animation</td><td>The animation to export.</td></tr>
    <tr><td class="paramname">fileName</td><td>The output file to create.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale at which the animation will be rendered.</td></tr>
    <tr><td class="paramname">frameRate</td><td>The target frame rate of the animation, in frames-per-second (fps). This is capped by the animated GIF specification at 50 fps.</td></tr>
    <tr><td class="paramname">durationScaling</td><td>A scaling factor that will be applied to all durations in the animation. Values greater than 1 slow down the animation, values smaller than 1 accelerate it. Note that this does not affect the frame rate of the animation.</td></tr>
    <tr><td class="paramname">colorTableMode</td><td>Determines whether a single colour table should be used for the whole image, or if a different colour table should be used for each frame.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01403">1403</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="a0d483e3d6ea5e9371aff8571d3d3daf5" name="a0d483e3d6ea5e9371aff8571d3d3daf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d483e3d6ea5e9371aff8571d3d3daf5">&#9670;&#160;</a></span>SaveAsAnimatedPNG() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsAnimatedPNG </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a>&#160;</td>
          <td class="paramname"><em>animation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>imageStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frameRate</em> = <code>60</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>durationScaling</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_animated_p_n_g.html#ac87e8fb45a427615d2645ba751e5d09a">AnimatedPNG.InterframeCompression</a>&#160;</td>
          <td class="paramname"><em>interframeCompression</em> = <code>AnimatedPNG.InterframeCompression.First</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves the animation to a stream in animated PNG format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">animation</td><td>The animation to export.</td></tr>
    <tr><td class="paramname">imageStream</td><td>The stream on which the animated PNG will be written.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale at which the animation will be rendered.</td></tr>
    <tr><td class="paramname">frameRate</td><td>The target frame rate of the animation, in frames-per-second (fps). This is capped by the animated PNG specification at 90 fps.</td></tr>
    <tr><td class="paramname">durationScaling</td><td>A scaling factor that will be applied to all durations in the animation. Values greater than 1 slow down the animation, values smaller than 1 accelerate it. Note that this does not affect the frame rate of the animation.</td></tr>
    <tr><td class="paramname">interframeCompression</td><td>The kind of compression that will be used to reduce file size. Note that if the animation has a transparent background, no compression can be performed, and the value of this parameter is ignored.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01420">1420</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="ad6b39d0265042a2f0ebf490a0557ab40" name="ad6b39d0265042a2f0ebf490a0557ab40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad6b39d0265042a2f0ebf490a0557ab40">&#9670;&#160;</a></span>SaveAsAnimatedPNG() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsAnimatedPNG </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_animation.html">Animation</a>&#160;</td>
          <td class="paramname"><em>animation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>frameRate</em> = <code>60</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>durationScaling</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_vect_sharp_1_1_animated_p_n_g.html#ac87e8fb45a427615d2645ba751e5d09a">AnimatedPNG.InterframeCompression</a>&#160;</td>
          <td class="paramname"><em>interframeCompression</em> = <code>AnimatedPNG.InterframeCompression.First</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Saves the animation to an animated PNG file.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">animation</td><td>The animation to export.</td></tr>
    <tr><td class="paramname">fileName</td><td>The output file to create.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale at which the animation will be rendered.</td></tr>
    <tr><td class="paramname">frameRate</td><td>The target frame rate of the animation, in frames-per-second (fps). This is capped by the animated PNG specification at 90 fps.</td></tr>
    <tr><td class="paramname">durationScaling</td><td>A scaling factor that will be applied to all durations in the animation. Values greater than 1 slow down the animation, values smaller than 1 accelerate it. Note that this does not affect the frame rate of the animation.</td></tr>
    <tr><td class="paramname">interframeCompression</td><td>The kind of compression that will be used to reduce file size. Note that if the animation has a transparent background, no compression can be performed, and the value of this parameter is ignored.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01508">1508</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="a3c2828cecc3c2c0d4ebc588a3903de6a" name="a3c2828cecc3c2c0d4ebc588a3903de6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c2828cecc3c2c0d4ebc588a3903de6a">&#9670;&#160;</a></span>SaveAsImage() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Image&lt; SixLabors.ImageSharp.PixelFormats.Rgba32 &gt; VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsImage </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Render the page to an Image object.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">page</td><td>The <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to render.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale to be used when rasterising the page. This will determine the width and height of the Image.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An Image containing the rasterised page.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01056">1056</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="a15f83467289d6f99429826a1064101bf" name="a15f83467289d6f99429826a1064101bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15f83467289d6f99429826a1064101bf">&#9670;&#160;</a></span>SaveAsImage() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsImage </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Stream&#160;</td>
          <td class="paramname"><em>imageStream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_vect_sharp_1_1_raster_1_1_image_sharp.html#a3a997f2103fbfd334ff7cf6c9e06d2b6">OutputFormats</a>&#160;</td>
          <td class="paramname"><em>outputFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Render the page to an image stream.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">page</td><td>The <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to render.</td></tr>
    <tr><td class="paramname">imageStream</td><td>The Stream on which the image data will be written.</td></tr>
    <tr><td class="paramname">outputFormat</td><td>The format of the image that will be created.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale to be used when rasterising the page. This will determine the width and height of the image.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01072">1072</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="ab089bbd435e9a39b3ac33d0db777fca1" name="ab089bbd435e9a39b3ac33d0db777fca1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab089bbd435e9a39b3ac33d0db777fca1">&#9670;&#160;</a></span>SaveAsImage() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsImage </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td>
          <td class="paramname"><em>page</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>fileName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_vect_sharp_1_1_raster_1_1_image_sharp.html#a3a997f2103fbfd334ff7cf6c9e06d2b6">OutputFormats</a>?&#160;</td>
          <td class="paramname"><em>outputFormat</em> = <code>null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Render the page to an image file.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">page</td><td>The <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to render.</td></tr>
    <tr><td class="paramname">fileName</td><td>The path of the file where the image will be saved.</td></tr>
    <tr><td class="paramname">outputFormat</td><td>The format of the image that will be created. If this is <code>null</code> (the default), the format is desumed from the extension of the file.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale to be used when rasterising the page. This will determine the width and height of the image.</td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01130">1130</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="a482bcb2c2cb8cfcd4408331e816bcf6e" name="a482bcb2c2cb8cfcd4408331e816bcf6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a482bcb2c2cb8cfcd4408331e816bcf6e">&#9670;&#160;</a></span>SaveAsRawBytes() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static byte[] VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsRawBytes </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td>
          <td class="paramname"><em>pag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the page to raw pixel data, in 32bpp RGBA format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pag</td><td>The <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to render.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale to be used when rasterising the page. This will determine the width and height of the image.</td></tr>
    <tr><td class="paramname">width</td><td>The width of the rendered image.</td></tr>
    <tr><td class="paramname">height</td><td>The height of the rendered image.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A byte array containing the raw pixel data.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01243">1243</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<a id="ac70cab7afab966d3188d27ba9eaabe6c" name="ac70cab7afab966d3188d27ba9eaabe6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac70cab7afab966d3188d27ba9eaabe6c">&#9670;&#160;</a></span>SaveAsRawBytes() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="class_vect_sharp_1_1_disposable_int_ptr.html">DisposableIntPtr</a> VectSharp.Raster.ImageSharp.ImageSharpContextInterpreter.SaveAsRawBytes </td>
          <td>(</td>
          <td class="paramtype">this <a class="el" href="class_vect_sharp_1_1_page.html">Page</a>&#160;</td>
          <td class="paramname"><em>pag</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out int&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">out int&#160;</td>
          <td class="paramname"><em>totalSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>scale</em> = <code>1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Render the page to raw pixel data, in 32bpp RGBA format.  </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pag</td><td>The <a class="el" href="class_vect_sharp_1_1_page.html" title="Represents a Graphics object with a width and height.">Page</a> to render.</td></tr>
    <tr><td class="paramname">scale</td><td>The scale to be used when rasterising the page. This will determine the width and height of the image.</td></tr>
    <tr><td class="paramname">width</td><td>The width of the rendered image.</td></tr>
    <tr><td class="paramname">height</td><td>The height of the rendered image.</td></tr>
    <tr><td class="paramname">totalSize</td><td>The size in bytes of the raw pixel data.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="class_vect_sharp_1_1_disposable_int_ptr.html" title="An IDisposable wrapper around an IntPtr that frees the allocated memory when it is disposed.">DisposableIntPtr</a> containing a pointer to the raw pixel data, stored in unmanaged memory. Dispose this object to release the unmanaged memory.</dd></dl>

<p class="definition">Definition at line <a class="el" href="_image_sharp_context_8cs_source.html#l01200">1200</a> of file <a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>VectSharp.Raster.ImageSharp/<a class="el" href="_image_sharp_context_8cs_source.html">ImageSharpContext.cs</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespace_vect_sharp.html">VectSharp</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_raster.html">Raster</a></li><li class="navelem"><a class="el" href="namespace_vect_sharp_1_1_raster_1_1_image_sharp.html">ImageSharp</a></li><li class="navelem"><a class="el" href="class_vect_sharp_1_1_raster_1_1_image_sharp_1_1_image_sharp_context_interpreter.html">ImageSharpContextInterpreter</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5 </li>
  </ul>
</div>
</body>
</html>
